#ifndef __HGEHandle__h__
#define __HGEHandle__h__

#include "singleton.h"
class QWidget;
class hgeSprite;

class HGEHandle : public singleton<HGEHandle>
{

public:

	void setWidget(QWidget* _w);

	void init();

	static bool render();

	static bool tick();

	QWidget* w;

	hgeSprite* s;

	int mx; 
	int my;
	int x;
	float r;


		void move_up();

		void move_down();

};
#endif